package com.ruoyi.slope.device.deviceInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备列表对象 slope_device_info
 * 
 * @author psy
 * @date 2025-05-10
 */
public class SlopeDeviceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 逻辑主键ID */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 所属监测点 */
    @Excel(name = "所属监测点")
    private String monitorId;

    /** 传感器品牌 */
    @Excel(name = "传感器品牌")
    private String sensorBrand;

    /** 传感器型号 */
    @Excel(name = "传感器型号")
    private String sensorModel;

    /** 传感器ID */
    @Excel(name = "传感器ID")
    private String sensorId;

    /** 设备SN */
    @Excel(name = "设备SN")
    private String deviceSn;

    /** 固件版本号 */
    @Excel(name = "固件版本号")
    private String firmwareVersion;

    /** 通讯状态 */
    @Excel(name = "通讯状态")
    private String commStatus;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String dataStatus;

    /** 接入协议 */
    @Excel(name = "接入协议")
    private String protocol;

    /** 物联网卡ICCID */
    @Excel(name = "物联网卡ICCID")
    private String iccid;

    /** 管养部门 */
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }

    public void setMonitorId(String monitorId) 
    {
        this.monitorId = monitorId;
    }

    public String getMonitorId() 
    {
        return monitorId;
    }

    public void setSensorBrand(String sensorBrand) 
    {
        this.sensorBrand = sensorBrand;
    }

    public String getSensorBrand() 
    {
        return sensorBrand;
    }

    public void setSensorModel(String sensorModel) 
    {
        this.sensorModel = sensorModel;
    }

    public String getSensorModel() 
    {
        return sensorModel;
    }

    public void setSensorId(String sensorId) 
    {
        this.sensorId = sensorId;
    }

    public String getSensorId() 
    {
        return sensorId;
    }

    public void setDeviceSn(String deviceSn) 
    {
        this.deviceSn = deviceSn;
    }

    public String getDeviceSn() 
    {
        return deviceSn;
    }

    public void setFirmwareVersion(String firmwareVersion) 
    {
        this.firmwareVersion = firmwareVersion;
    }

    public String getFirmwareVersion() 
    {
        return firmwareVersion;
    }

    public void setCommStatus(String commStatus) 
    {
        this.commStatus = commStatus;
    }

    public String getCommStatus() 
    {
        return commStatus;
    }

    public void setDataStatus(String dataStatus) 
    {
        this.dataStatus = dataStatus;
    }

    public String getDataStatus() 
    {
        return dataStatus;
    }

    public void setProtocol(String protocol) 
    {
        this.protocol = protocol;
    }

    public String getProtocol() 
    {
        return protocol;
    }

    public void setIccid(String iccid) 
    {
        this.iccid = iccid;
    }

    public String getIccid() 
    {
        return iccid;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceName", getDeviceName())
            .append("monitorId", getMonitorId())
            .append("sensorBrand", getSensorBrand())
            .append("sensorModel", getSensorModel())
            .append("sensorId", getSensorId())
            .append("deviceSn", getDeviceSn())
            .append("firmwareVersion", getFirmwareVersion())
            .append("commStatus", getCommStatus())
            .append("dataStatus", getDataStatus())
            .append("protocol", getProtocol())
            .append("iccid", getIccid())
            .append("deptId", getDeptId())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
